                <div class="tableMain">
                	<form method="post" class="one">
                    <table class="right-table" width="99%"  border="0px" cellpadding="0" align="center" cellspacing="0" >
                    <tbody>
                    <tr>
                    <th>序号</th>
                    <th>品牌名</th>
                    <th>英文名</th>
                    <th>logo</th>
                    <th>介绍</th>
                    <th>时间</th>
                    <th id="clearTDrightBorder">操作</th>
                    </tr>
                    <?php foreach ($arr as $key => $value):?>
                        <tr>
                        <td width="30px;"><input name="id[]" type="checkbox" value="<?php echo $value['id'];?>" /><?php echo $value['id'];?></td>
                        <td>
							<?php echo $value['name'];?>
						</td>
                        <td><?php echo $value['english'];?></td>
                        <td style="text-align:center"><img src="<?php echo $value['logo'];?>"  height="100px;"  /></td>
                        <td><?php echo $value['intro'];?></td>
                        <td><?php echo $value['time'];?></td>
                        
                        <td id="clearTDrightBorder">
                        	<a href="<?php echo 'index.php?admin=1&c=brand&a=edit&id='.$value['id'];?>">修改</a>
                            <a href="<?php echo 'index.php?admin=1&c=brand&a=delete&id='.$value['id'];?>" onclick="return confirm('是否删除？','是','否');">删除</a>
                            　预览
                        </td>
                        </tr>
                        <?php endforeach;?>
                        
                    </tbody>
                    </table>
                    </form>
                </div>
                <form method="post" action="index.php?admin=1&c=brand&a=list">
                <div id="page">
                <ul>
				<?php echo $page;?>
                </ul>
           		</div>
                </form>
                <script>
                	$('#page a').live('click',function(){
						var url=$(this).attr('href');
						$.ajax({
							type:"get",
							url:url,
                            dataType:"json",
							success:function(json){
								//alert(json.arr[0].id);
                            var str='';
                                    str+='<tr>';
                                    str+='<th>序号</th>';
                                    str+='<th>品牌名</th>';
                                    str+='<th>英文名</th>';
                                    str+='<th>logo</th>';
                                    str+='<th>介绍</th>';
                                    str+='<th>时间</th>';
                                    str+='<th id="clearTDrightBorder">操作</th>';
                                    str+='</tr>';
                            for(var i=0;i<json.arr.length;i++){
                                str+='<tr>';
                                str+='<td width="30px;"><input name="id[]" type="checkbox" value="'+json.arr[i].id+'" />'+json.arr[i].id+'</td>';
                                str+='<td>'+json.arr[i].name+'</td>';
                                str+='<td>'+json.arr[i].english+'</td>';
                                str+='<td style="text-align:center"><img src="'+json.arr[i].logo+'"  height="100px;"  /></td>';
                                str+='<td>'+json.arr[i].intro+'</td>';
                                str+='<td>'+json.arr[i].time+'</td>';
                                str+='<td id="clearTDrightBorder">';
                                str+='<a href="index.php?admin=1&c=brand&a=edit&id='+json.arr[i].id+'">修改</a>&nbsp;&nbsp;';
                                str+='<a href="index.php?admin=1&c=brand&a=delete&id='+json.arr[i].id+'" onclick="return confirm'+"('是否删除？','是','否')"+';">删除</a>&nbsp;&nbsp;预览';
                                str+='</td>';
                                str+='</tr>';
                            }
                            $('.right-table').html(str);
                            $('#page').html('<ul>'+json.page+'</ul>');
								},
                                error:function(){
                                    alert('失败')
                                }
							})
						return false;
						})
                </script>